package com.lyw.forum.pojo.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String phoneNum;
    private String email;
    private Byte gender;
    private String salt;
    private String avatarUrl;
    private Integer articleCount;
    private Byte isAdmin;
    private String remark;
    private Byte state;
    private Byte deleteState;
    private Date createTime;
    private Date updateTime;
}